package com.itheima.demo1junit;

import org.junit.Test;

public class PrintNumTest
{
    //测试方法必须公开 无参 无返回值
    //测试方法必须使用@Test注解
    @Test
    public void testPrintNum()
    {
        PrintNumDemo1.PrintNum("张三");
        //极端判断
        PrintNumDemo1.PrintNum(" ");
        PrintNumDemo1.PrintNum(null);
        //断言测试
        //Assert.assertEquals(5,name.length());
    }
}
